home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Strate…Tools for the Enterprise / Microsoft Internet Strategy & Tools for the Enterprise.iso / bkoffice / inetsrv.nts / mips / gdctrs.h < prev    next >
C/C++ Source or Header  |  1995-12-29  |  3KB  |  85 lines

  1. /*++
  2.  
  3.    Copyright    (c)    1994    Microsoft Corporation
  4.  
  5.    Module  Name :
  6.         gdctrs.h
  7.  
  8.    Abstract:
  9.         Offset definitions for the Gopher service's counter objects & counters.
  10.  
  11.         These offsets *MUST* start at 0 and be multiples of 2.
  12.         In GdOpenPerformanceData(), they will be added to Gopher Server's
  13.         "First Counter" and "First Help" to determine the absolute location
  14.         of the counter and object names as well as corresponding help text
  15.         in the registry.
  16.  
  17.         This file is used by gdctrs.dll and gdctrs.ini  files.
  18.         gdctrs.ini file is parsed by LODCTR utility to load the object and 
  19.         counter names into the registry.
  20.  
  21.  
  22.    Author:
  23.  
  24.            Murali R. Krishnan    ( MuraliK )    23-Nov-1994
  25.  
  26.    Project:
  27.    
  28.            Gopher Server Performance Counter DLL
  29.  
  30.    Revision History:
  31.            Murali R. Krishnan    ( MuraliK )    18-May-1995
  32.  
  33.  
  34. --*/
  35.  
  36. # ifndef _GDCTRS_H_
  37. # define _GDCTRS_H_
  38.  
  39. /************************************************************
  40.  *     Symbolic Constants 
  41.  ************************************************************/
  42.  
  43. /*
  44.     I want to put braces around the values in the following list.
  45.     But, behold :(. LodCtr utility does not like it. It wants plain 
  46.     numbers for parsing the data.
  47.     Also it does not like blanks after '#' before 'define'.
  48.  
  49.     Beware, that perfmon parser hates readable stuff:(
  50.  
  51. */
  52.  
  53. #define    GD_COUNTER_OBJECT            0
  54.  
  55. //
  56. //  Individual counters
  57. //
  58.  
  59. #define    GD_BYTES_SENT_COUNTER                        2
  60. #define    GD_BYTES_RECEIVED_COUNTER                    4
  61. #define    GD_BYTES_TOTAL_COUNTER                       6
  62. #define    GD_FILES_SENT_COUNTER                        8
  63. #define    GD_DIRECTORY_LISTINGS_COUNTER                10
  64. #define    GD_TOTAL_SEARCHES_COUNTER                    12
  65. #define    GD_CURRENT_ANONYMOUS_COUNTER                 14
  66. #define    GD_CURRENT_NONANONYMOUS_COUNTER              16
  67. #define    GD_TOTAL_ANONYMOUS_COUNTER                   18
  68. #define    GD_TOTAL_NONANONYMOUS_COUNTER                20
  69. #define    GD_MAX_ANONYMOUS_COUNTER                     22
  70. #define    GD_MAX_NONANONYMOUS_COUNTER                  24
  71. #define    GD_CURRENT_CONNECTIONS_COUNTER               26
  72. #define    GD_MAX_CONNECTIONS_COUNTER                   28
  73. #define    GD_CONNECTION_ATTEMPTS_COUNTER               30
  74. #define    GD_LOGON_ATTEMPTS_COUNTER                    32
  75. #define    GD_ABORTED_CONNECTIONS_COUNTER               34
  76. #define    GD_ERRORED_CONNECTIONS_COUNTER               36
  77. #define    GD_GOPHER_PLUS_REQUESTS_COUNTER              38
  78.  
  79.  
  80. # endif // _GDCTRS_H_
  81.  
  82.  
  83.  
  84. /************************ End of File ***********************/
  85.